<%
Object authUser = session.getAttribute("authenticatedUser");
boolean authenticated = authUser == null ? false : true;
if (!authenticated){
	String loginMessage = "You have not been authorized to "
		+" access the URL "+request.getRequestURL().toString();
	session.setAttribute("loginMessage",loginMessage);
	response.sendRedirect("login.jsp");
	return;
}
%>